package com.ztesoft.web.baseconfig.db.po;

import java.util.Date;

import org.apache.commons.lang.StringUtils;

import com.ztesoft.framework.dto.AbstractDto;

public class SubTableDefinePO extends AbstractDto {
	private Integer dataId;
	private Integer seqNbr;
	private Integer dataType;
	private Integer priority;
	private Integer subDefineType;
	private String subDefineValue;
	private Integer sourceDataId;
	private String subRefCol;
	private Integer staffId;
	private String state;
	private Date stateDate;
	private Date createDate;

	private String tableName;
	private String funcName;
	private Integer upperOffset;
	private Integer lowerOffset;

	public Integer getUpperOffset() {
		return upperOffset;
	}

	public void setUpperOffset(Integer upperOffset) {
		this.upperOffset = upperOffset;
	}

	public Integer getLowerOffset() {
		return lowerOffset;
	}

	public void setLowerOffset(Integer lowerOffset) {
		this.lowerOffset = lowerOffset;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getFuncName() {
		return funcName;
	}

	public void setFuncName(String funcName) {
		this.funcName = funcName;
	}

	public Integer getDataId() {
		return dataId;
	}

	public void setDataId(Integer dataId) {
		this.dataId = dataId;
	}

	public Integer getSeqNbr() {
		return seqNbr;
	}

	public void setSeqNbr(Integer seqNbr) {
		this.seqNbr = seqNbr;
	}

	public Integer getDataType() {
		return dataType;
	}

	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getSubDefineType() {
		return subDefineType;
	}

	public void setSubDefineType(Integer subDefineType) {
		this.subDefineType = subDefineType;
	}

	public String getSubDefineValue() {
		return StringUtils.isBlank(subDefineValue) ? subDefineValue : subDefineValue.trim();
	}

	public void setSubDefineValue(String subDefineValue) {
		this.subDefineValue = subDefineValue;
	}

	public Integer getSourceDataId() {
		return sourceDataId;
	}

	public void setSourceDataId(Integer sourceDataId) {
		this.sourceDataId = sourceDataId;
	}

	public String getSubRefCol() {
		return StringUtils.isBlank(subRefCol) ? subRefCol : subRefCol.trim();
	}

	public void setSubRefCol(String subRefCol) {
		this.subRefCol = subRefCol;
	}

	public Integer getStaffId() {
		return staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public String getState() {
		return StringUtils.isBlank(state) ? state : state.trim();
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getStateDate() {
		return stateDate;
	}

	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}